3.3.68 \(\int \frac {A+B x+C x^2}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx\) [268]
Optimal. Leaf size=471 \[ \frac {2 C \sqrt {d+e x} \sqrt {a+b x+c x^2}}{3 c e}-\frac {\sqrt {2} \sqrt {b^2-4 a c} (2 c C d-3 B c e+2 b C e) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {a+b x+c x^2}}+\frac {2 \sqrt {2} \sqrt {b^2-4 a c} \left (C e (b d-a e)+c \left (2 C d^2-3 e (B d-A e)\right )\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt {d+e x} \sqrt {a+b x+c x^2}} \]
[Out]
2/3*C*(e*x+d)^(1/2)*(c*x^2+b*x+a)^(1/2)/c/e-1/3*(-3*B*c*e+2*C*b*e+2*C*c*d)*EllipticE(1/2*((b+2*c*x+(-4*a*c+b^2
)^(1/2))/(-4*a*c+b^2)^(1/2))^(1/2)*2^(1/2),(-2*e*(-4*a*c+b^2)^(1/2)/(2*c*d-e*(b+(-4*a*c+b^2)^(1/2))))^(1/2))*2
^(1/2)*(-4*a*c+b^2)^(1/2)*(e*x+d)^(1/2)*(-c*(c*x^2+b*x+a)/(-4*a*c+b^2))^(1/2)/c^2/e^2/(c*x^2+b*x+a)^(1/2)/(c*(
e*x+d)/(2*c*d-e*(b+(-4*a*c+b^2)^(1/2))))^(1/2)+2/3*(C*e*(-a*e+b*d)+c*(2*C*d^2-3*e*(-A*e+B*d)))*EllipticF(1/2*(
(b+2*c*x+(-4*a*c+b^2)^(1/2))/(-4*a*c+b^2)^(1/2))^(1/2)*2^(1/2),(-2*e*(-4*a*c+b^2)^(1/2)/(2*c*d-e*(b+(-4*a*c+b^
2)^(1/2))))^(1/2))*2^(1/2)*(-4*a*c+b^2)^(1/2)*(-c*(c*x^2+b*x+a)/(-4*a*c+b^2))^(1/2)*(c*(e*x+d)/(2*c*d-e*(b+(-4
*a*c+b^2)^(1/2))))^(1/2)/c^2/e^2/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2)
________________________________________________________________________________________
Rubi [A]
time = 0.30, antiderivative size = 470, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.147, Rules used = {1667, 857, 732,
435, 430} \begin {gather*} \frac {2 \sqrt {2} \sqrt {b^2-4 a c} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} \sqrt {\frac {c (d+e x)}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}} \left (C e (b d-a e)-3 c e (B d-A e)+2 c C d^2\right ) F\left (\text {ArcSin}\left (\frac {\sqrt {\frac {b+2 c x+\sqrt {b^2-4 a c}}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt {d+e x} \sqrt {a+b x+c x^2}}-\frac {\sqrt {2} \sqrt {b^2-4 a c} \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 b C e-3 B c e+2 c C d) E\left (\text {ArcSin}\left (\frac {\sqrt {\frac {b+2 c x+\sqrt {b^2-4 a c}}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt {a+b x+c x^2} \sqrt {\frac {c (d+e x)}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}}}+\frac {2 C \sqrt {d+e x} \sqrt {a+b x+c x^2}}{3 c e} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[(A + B*x + C*x^2)/(Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2]),x]
[Out]
(2*C*Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2])/(3*c*e) - (Sqrt[2]*Sqrt[b^2 - 4*a*c]*(2*c*C*d - 3*B*c*e + 2*b*C*e)*S
qrt[d + e*x]*Sqrt[-((c*(a + b*x + c*x^2))/(b^2 - 4*a*c))]*EllipticE[ArcSin[Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x
)/Sqrt[b^2 - 4*a*c]]/Sqrt[2]], (-2*Sqrt[b^2 - 4*a*c]*e)/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(3*c^2*e^2*Sqrt[
(c*(d + e*x))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]*Sqrt[a + b*x + c*x^2]) + (2*Sqrt[2]*Sqrt[b^2 - 4*a*c]*(2*c*
C*d^2 + C*e*(b*d - a*e) - 3*c*e*(B*d - A*e))*Sqrt[(c*(d + e*x))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]*Sqrt[-((c
*(a + b*x + c*x^2))/(b^2 - 4*a*c))]*EllipticF[ArcSin[Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x)/Sqrt[b^2 - 4*a*c]]/S
qrt[2]], (-2*Sqrt[b^2 - 4*a*c]*e)/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(3*c^2*e^2*Sqrt[d + e*x]*Sqrt[a + b*x
+ c*x^2])
Rule 430
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(1/(Sqrt[a]*Sqrt[c]*Rt[-d/c, 2]
))*EllipticF[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && Gt
Q[a, 0] && !(NegQ[b/a] && SimplerSqrtQ[-b/a, -d/c])
Rule 435
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*Ell
ipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0
]
Rule 732
Int[((d_.) + (e_.)*(x_))^(m_)/Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[2*Rt[b^2 - 4*a*c, 2]*
(d + e*x)^m*(Sqrt[(-c)*((a + b*x + c*x^2)/(b^2 - 4*a*c))]/(c*Sqrt[a + b*x + c*x^2]*(2*c*((d + e*x)/(2*c*d - b*
e - e*Rt[b^2 - 4*a*c, 2])))^m)), Subst[Int[(1 + 2*e*Rt[b^2 - 4*a*c, 2]*(x^2/(2*c*d - b*e - e*Rt[b^2 - 4*a*c, 2
])))^m/Sqrt[1 - x^2], x], x, Sqrt[(b + Rt[b^2 - 4*a*c, 2] + 2*c*x)/(2*Rt[b^2 - 4*a*c, 2])]], x] /; FreeQ[{a, b
, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[2*c*d - b*e, 0] && EqQ[m^2, 1/4]
Rule 857
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Dis
t[g/e, Int[(d + e*x)^(m + 1)*(a + b*x + c*x^2)^p, x], x] + Dist[(e*f - d*g)/e, Int[(d + e*x)^m*(a + b*x + c*x^
2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m, p}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0]
&& !IGtQ[m, 0]
Rule 1667
Int[(Pq_)*((d_.) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> With[{q = Expon[Pq
, x], f = Coeff[Pq, x, Expon[Pq, x]]}, Simp[f*(d + e*x)^(m + q - 1)*((a + b*x + c*x^2)^(p + 1)/(c*e^(q - 1)*(m
+ q + 2*p + 1))), x] + Dist[1/(c*e^q*(m + q + 2*p + 1)), Int[(d + e*x)^m*(a + b*x + c*x^2)^p*ExpandToSum[c*e^
q*(m + q + 2*p + 1)*Pq - c*f*(m + q + 2*p + 1)*(d + e*x)^q - f*(d + e*x)^(q - 2)*(b*d*e*(p + 1) + a*e^2*(m + q
- 1) - c*d^2*(m + q + 2*p + 1) - e*(2*c*d - b*e)*(m + q + p)*x), x], x], x] /; GtQ[q, 1] && NeQ[m + q + 2*p +
1, 0]] /; FreeQ[{a, b, c, d, e, m, p}, x] && PolyQ[Pq, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2
, 0] && !(IGtQ[m, 0] && RationalQ[a, b, c, d, e] && (IntegerQ[p] || ILtQ[p + 1/2, 0]))
Rubi steps
\begin {align*} \int \frac {A+B x+C x^2}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx &=\frac {2 C \sqrt {d+e x} \sqrt {a+b x+c x^2}}{3 c e}+\frac {2 \int \frac {-\frac {1}{2} e (b C d-3 A c e+a C e)-\frac {1}{2} e (2 c C d-3 B c e+2 b C e) x}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx}{3 c e^2}\\ &=\frac {2 C \sqrt {d+e x} \sqrt {a+b x+c x^2}}{3 c e}-\frac {(2 c C d-3 B c e+2 b C e) \int \frac {\sqrt {d+e x}}{\sqrt {a+b x+c x^2}} \, dx}{3 c e^2}+\frac {\left (2 c C d^2+C e (b d-a e)-3 c e (B d-A e)\right ) \int \frac {1}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx}{3 c e^2}\\ &=\frac {2 C \sqrt {d+e x} \sqrt {a+b x+c x^2}}{3 c e}-\frac {\left (\sqrt {2} \sqrt {b^2-4 a c} (2 c C d-3 B c e+2 b C e) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {2 \sqrt {b^2-4 a c} e x^2}{2 c d-b e-\sqrt {b^2-4 a c} e}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )}{3 c^2 e^2 \sqrt {\frac {c (d+e x)}{2 c d-b e-\sqrt {b^2-4 a c} e}} \sqrt {a+b x+c x^2}}+\frac {\left (2 \sqrt {2} \sqrt {b^2-4 a c} \left (2 c C d^2+C e (b d-a e)-3 c e (B d-A e)\right ) \sqrt {\frac {c (d+e x)}{2 c d-b e-\sqrt {b^2-4 a c} e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+\frac {2 \sqrt {b^2-4 a c} e x^2}{2 c d-b e-\sqrt {b^2-4 a c} e}}} \, dx,x,\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )}{3 c^2 e^2 \sqrt {d+e x} \sqrt {a+b x+c x^2}}\\ &=\frac {2 C \sqrt {d+e x} \sqrt {a+b x+c x^2}}{3 c e}-\frac {\sqrt {2} \sqrt {b^2-4 a c} (2 c C d-3 B c e+2 b C e) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {a+b x+c x^2}}+\frac {2 \sqrt {2} \sqrt {b^2-4 a c} \left (2 c C d^2+C e (b d-a e)-3 c e (B d-A e)\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt {d+e x} \sqrt {a+b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 28.57, size = 980, normalized size = 2.08 \begin {gather*} \frac {\sqrt {d+e x} \left (4 c C e^2 (a+x (b+c x))+\frac {(d+e x) \left (-\frac {4 e^2 (2 c C d-3 B c e+2 b C e) \sqrt {\frac {c d^2+e (-b d+a e)}{-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}}} (a+x (b+c x))}{(d+e x)^2}+\frac {i \sqrt {2} (2 c C d-3 B c e+2 b C e) \left (2 c d-b e+\sqrt {\left (b^2-4 a c\right ) e^2}\right ) \sqrt {\frac {-2 a e^2+d \sqrt {\left (b^2-4 a c\right ) e^2}+2 c d e x+e \sqrt {\left (b^2-4 a c\right ) e^2} x+b e (d-e x)}{\left (2 c d-b e+\sqrt {\left (b^2-4 a c\right ) e^2}\right ) (d+e x)}} \sqrt {\frac {2 a e^2+d \sqrt {\left (b^2-4 a c\right ) e^2}-2 c d e x+e \sqrt {\left (b^2-4 a c\right ) e^2} x+b e (-d+e x)}{\left (-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}\right ) (d+e x)}} E\left (i \sinh ^{-1}\left (\frac {\sqrt {2} \sqrt {\frac {c d^2-b d e+a e^2}{-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}}}}{\sqrt {d+e x}}\right )|-\frac {-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}}{2 c d-b e+\sqrt {\left (b^2-4 a c\right ) e^2}}\right )}{\sqrt {d+e x}}+\frac {i \sqrt {2} \left (2 b^2 C e^2-b e \left (3 B c e+2 C \sqrt {\left (b^2-4 a c\right ) e^2}\right )+c \left (6 A c e^2-2 a C e^2+\sqrt {\left (b^2-4 a c\right ) e^2} (-2 C d+3 B e)\right )\right ) \sqrt {\frac {-2 a e^2+d \sqrt {\left (b^2-4 a c\right ) e^2}+2 c d e x+e \sqrt {\left (b^2-4 a c\right ) e^2} x+b e (d-e x)}{\left (2 c d-b e+\sqrt {\left (b^2-4 a c\right ) e^2}\right ) (d+e x)}} \sqrt {\frac {2 a e^2+d \sqrt {\left (b^2-4 a c\right ) e^2}-2 c d e x+e \sqrt {\left (b^2-4 a c\right ) e^2} x+b e (-d+e x)}{\left (-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}\right ) (d+e x)}} F\left (i \sinh ^{-1}\left (\frac {\sqrt {2} \sqrt {\frac {c d^2-b d e+a e^2}{-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}}}}{\sqrt {d+e x}}\right )|-\frac {-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}}{2 c d-b e+\sqrt {\left (b^2-4 a c\right ) e^2}}\right )}{\sqrt {d+e x}}\right )}{\sqrt {\frac {c d^2+e (-b d+a e)}{-2 c d+b e+\sqrt {\left (b^2-4 a c\right ) e^2}}}}\right )}{6 c^2 e^3 \sqrt {a+x (b+c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[(A + B*x + C*x^2)/(Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2]),x]
[Out]
(Sqrt[d + e*x]*(4*c*C*e^2*(a + x*(b + c*x)) + ((d + e*x)*((-4*e^2*(2*c*C*d - 3*B*c*e + 2*b*C*e)*Sqrt[(c*d^2 +
e*(-(b*d) + a*e))/(-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])]*(a + x*(b + c*x)))/(d + e*x)^2 + (I*Sqrt[2]*(2*c*C
*d - 3*B*c*e + 2*b*C*e)*(2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])*Sqrt[(-2*a*e^2 + d*Sqrt[(b^2 - 4*a*c)*e^2] + 2
*c*d*e*x + e*Sqrt[(b^2 - 4*a*c)*e^2]*x + b*e*(d - e*x))/((2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])*(d + e*x))]*S
qrt[(2*a*e^2 + d*Sqrt[(b^2 - 4*a*c)*e^2] - 2*c*d*e*x + e*Sqrt[(b^2 - 4*a*c)*e^2]*x + b*e*(-d + e*x))/((-2*c*d
+ b*e + Sqrt[(b^2 - 4*a*c)*e^2])*(d + e*x))]*EllipticE[I*ArcSinh[(Sqrt[2]*Sqrt[(c*d^2 - b*d*e + a*e^2)/(-2*c*d
+ b*e + Sqrt[(b^2 - 4*a*c)*e^2])])/Sqrt[d + e*x]], -((-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])/(2*c*d - b*e +
Sqrt[(b^2 - 4*a*c)*e^2]))])/Sqrt[d + e*x] + (I*Sqrt[2]*(2*b^2*C*e^2 - b*e*(3*B*c*e + 2*C*Sqrt[(b^2 - 4*a*c)*e^
2]) + c*(6*A*c*e^2 - 2*a*C*e^2 + Sqrt[(b^2 - 4*a*c)*e^2]*(-2*C*d + 3*B*e)))*Sqrt[(-2*a*e^2 + d*Sqrt[(b^2 - 4*a
*c)*e^2] + 2*c*d*e*x + e*Sqrt[(b^2 - 4*a*c)*e^2]*x + b*e*(d - e*x))/((2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])*(
d + e*x))]*Sqrt[(2*a*e^2 + d*Sqrt[(b^2 - 4*a*c)*e^2] - 2*c*d*e*x + e*Sqrt[(b^2 - 4*a*c)*e^2]*x + b*e*(-d + e*x
))/((-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])*(d + e*x))]*EllipticF[I*ArcSinh[(Sqrt[2]*Sqrt[(c*d^2 - b*d*e + a*
e^2)/(-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])])/Sqrt[d + e*x]], -((-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])/(2*
c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2]))])/Sqrt[d + e*x]))/Sqrt[(c*d^2 + e*(-(b*d) + a*e))/(-2*c*d + b*e + Sqrt[(
b^2 - 4*a*c)*e^2])]))/(6*c^2*e^3*Sqrt[a + x*(b + c*x)])
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(4250\) vs.
\(2(413)=826\).
time = 0.18, size = 4251, normalized size = 9.03 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x,method=_RETURNVERBOSE)
[Out]
-1/3/c^2*(-2*C*a*c*d*e^2-2*C*c^2*e^3*x^3-2*C*b*c*d*e^2*x-C*(-4*a*c+b^2)^(1/2)*2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b
^2)^(1/2)+e*b-2*c*d))^(1/2)*((-b-2*c*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))^(1/2),(-(e*(-4*a*c
+b^2)^(1/2)+e*b-2*c*d)/(e*(-4*a*c+b^2)^(1/2)-e*b+2*c*d))^(1/2))*c*d^2*e+6*C*2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2
)^(1/2)+e*b-2*c*d))^(1/2)*((-b-2*c*x+(-4*a*c+b^2)^(1/2))*e/(e*(-4*a*c+b^2)^(1/2)-e*b+2*c*d))^(1/2)*((b+2*c*x+(
-4*a*c+b^2)^(1/2))*e/(e*(-4*a*c+b^2)^(1/2)+e*b-2*c*d))^(1/2)*EllipticF(2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/
2)+e*b-2*c*d))^(1/2),(-(e*(-4*a*c+b^2)^(1/2)+e*b-2*c*d)/(e*(-4*a*c+b^2)^(1/2)-e*b+2*c*d))^(1/2))*a*c*d*e^2-6*B
*2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+e*b-2*c*d))^(1/2)*((-b-2*c*x+(-4*a*c+b^2)^(1/2))*e/(e*(-4*a*c+b^2)^
(1/2)-e*b+2*c*d))^(1/2)*((b+2*c*x+(-4*a*c+b^2)^...
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x, algorithm="maxima")
[Out]
integrate((C*x^2 + B*x + A)/(sqrt(c*x^2 + b*x + a)*sqrt(x*e + d)), x)
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.09, size = 441, normalized size = 0.94 \begin {gather*} \frac {2 \, {\left (3 \, \sqrt {c x^{2} + b x + a} \sqrt {x e + d} C c^{2} e^{2} + {\left (2 \, C c^{2} d^{2} + {\left (C b c - 3 \, B c^{2}\right )} d e + {\left (2 \, C b^{2} + 9 \, A c^{2} - 3 \, {\left (C a + B b\right )} c\right )} e^{2}\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right ) + 3 \, {\left (2 \, C c^{2} d e + {\left (2 \, C b c - 3 \, B c^{2}\right )} e^{2}\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right )\right )\right )} e^{\left (-3\right )}}{9 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x, algorithm="fricas")
[Out]
2/9*(3*sqrt(c*x^2 + b*x + a)*sqrt(x*e + d)*C*c^2*e^2 + (2*C*c^2*d^2 + (C*b*c - 3*B*c^2)*d*e + (2*C*b^2 + 9*A*c
^2 - 3*(C*a + B*b)*c)*e^2)*sqrt(c)*e^(1/2)*weierstrassPInverse(4/3*(c^2*d^2 - b*c*d*e + (b^2 - 3*a*c)*e^2)*e^(
-2)/c^2, -4/27*(2*c^3*d^3 - 3*b*c^2*d^2*e - 3*(b^2*c - 6*a*c^2)*d*e^2 + (2*b^3 - 9*a*b*c)*e^3)*e^(-3)/c^3, 1/3
*(c*d + (3*c*x + b)*e)*e^(-1)/c) + 3*(2*C*c^2*d*e + (2*C*b*c - 3*B*c^2)*e^2)*sqrt(c)*e^(1/2)*weierstrassZeta(4
/3*(c^2*d^2 - b*c*d*e + (b^2 - 3*a*c)*e^2)*e^(-2)/c^2, -4/27*(2*c^3*d^3 - 3*b*c^2*d^2*e - 3*(b^2*c - 6*a*c^2)*
d*e^2 + (2*b^3 - 9*a*b*c)*e^3)*e^(-3)/c^3, weierstrassPInverse(4/3*(c^2*d^2 - b*c*d*e + (b^2 - 3*a*c)*e^2)*e^(
-2)/c^2, -4/27*(2*c^3*d^3 - 3*b*c^2*d^2*e - 3*(b^2*c - 6*a*c^2)*d*e^2 + (2*b^3 - 9*a*b*c)*e^3)*e^(-3)/c^3, 1/3
*(c*d + (3*c*x + b)*e)*e^(-1)/c)))*e^(-3)/c^3
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A + B x + C x^{2}}{\sqrt {d + e x} \sqrt {a + b x + c x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x**2+B*x+A)/(e*x+d)**(1/2)/(c*x**2+b*x+a)**(1/2),x)
[Out]
Integral((A + B*x + C*x**2)/(sqrt(d + e*x)*sqrt(a + b*x + c*x**2)), x)
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x, algorithm="giac")
[Out]
integrate((C*x^2 + B*x + A)/(sqrt(c*x^2 + b*x + a)*sqrt(x*e + d)), x)
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {C\,x^2+B\,x+A}{\sqrt {d+e\,x}\,\sqrt {c\,x^2+b\,x+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A + B*x + C*x^2)/((d + e*x)^(1/2)*(a + b*x + c*x^2)^(1/2)),x)
[Out]
int((A + B*x + C*x^2)/((d + e*x)^(1/2)*(a + b*x + c*x^2)^(1/2)), x)
________________________________________________________________________________________